<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="/system/layui/src/css/layui.css">
    <link rel="stylesheet" href="/system/css/login.css">
</head>
<body>
<div class="wrap">
    <img src="/system/images/1.png" class="imgStyle">
    <div class="loginForm">
        <form action="/login/login" >
            <input type="hidden" id="error" th:value="${message}">
            <div class="logoHead">
                <h2 style="margin-top: 10%;margin-left: 10%">轻聊天平台</h2>
            </div>
            <div class="usernameWrapDiv">
                <div class="usernameLabel">
                    <label>用户名:</label>
                </div>
                <div class="usernameDiv">
                    <i class="layui-icon layui-icon-username adminIcon"></i>
                    <input id="loginName" required class="layui-input adminInput" type="text" name="loginName" placeholder="输入用户名" >
                </div>
            </div>
            <div class="usernameWrapDiv">
                <div class="usernameLabel">
                    <label>密码:</label>
                </div>
                <div class="passwordDiv">
                    <i class="layui-icon layui-icon-password adminIcon"></i>
                    <input id="password" required class="layui-input adminInput" type="password" name="password" placeholder="输入密码">
                </div>
            </div>
            <div class="usernameWrapDiv">
                <div class="submitDiv">
                    <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
                </div>
            </div>
            <div style="margin-left: 35%;margin-top: 5%">
                <label>没得账号？</label><a class="addLink_btn" style="color: #0000FF" href="javascript:void(0);">去注册</a>
            </div>
        </form>
    </div>
</div>
<script type="text/javascript" src="/system/js/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="/system/layui/src/layui.js"></script>
<script type="text/javascript" src="/security/login/login.js"></script>
</body>
</html>